/**
 * Package:com.goldcitynet.service.impl;
 * Id: ComponentServiceImpl.java,$v 1.3 2008/05/05 10:47:35 $yangchuan Exp 
 * Copyright(c) 2001-2005 www.afteryuan.com
 */
package com.afteryuan.engine.service.impl;

import java.util.List;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import com.afteryuan.engine.model.Component;
import com.afteryuan.engine.service.ComponentService;
import com.afteryuan.dao.HibernateEntityDao;
import com.afteryuan.util.PaginationBean;

/**
 * ComponentServiceImpl
 * <p/>
 * <p><a href="ComponentServiceImpl.java.html"><i>View Source</i></a></p>
 *
 * @author <a href="mailto:afteryuan@afteryuan.com">$Author: yangc $</a>
 * @version $Revision: 1.2 $
 */
public class ComponentServiceImpl extends HibernateEntityDao<Component> implements ComponentService {

	private static Log log = LogFactory.getLog(ComponentServiceImpl.class);


    public List<Component> list(String sceneId) {
        String hql="from Component where scene.id='"+sceneId+"'";
        return createList(hql);
    }
}